-- GENERATED SPELL FOR [Dappled Stag] --


function spell0_31236(pUnit, Event) --@Butt,n/a--
pUnit:FullCastSpellOnTarget(59110,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31236', 557, 1)
end

function Sorts_31236(pUnit, Event)
local choix_sorts_31236 = math.random(0, 0)
if choix_sorts_31236 == 0 then
pUnit:RegisterEvent('spell0_31236', 1, 1)
end
end

function mob31236_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31236', math.random(1500, 3000), 1)
end

function mob31236_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31236_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31236_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31236, 1, 'mob31236_Action')
RegisterUnitEvent(31236, 2, 'mob31236_Leave')
RegisterUnitEvent(31236, 3, 'mob31236_Kill')
RegisterUnitEvent(31236, 4, 'mob31236_Die')
